<?php
//PingBuWang.Com
//Copyright (c) 2017~2099 http://www.pingbuwang.com All rights reserved.
namespace app\addons\model;

use think\Cache;
use mip\Paginationm;
use think\Db;
use think\Model;

class AddonsMenu extends Model
{

    public function getList(){
        $arr = Cache::get('c_addons_menu_getList');
        if($arr){
            return  $arr;
        }

        $addonsMenus = db('addonsMenu')->order('id asc')->select();
        Cache::tag('addons_menu')->set('c_main_menu_getList',$addonsMenus,3600);

        return $addonsMenus;
    }


}